package strfmtwrap.formatter;

import java.util.Formatter;

public class FormatterTest {
	public static void main(String[] args) {
//		Formatter formatter = new Formatter();
//		System.out.println(formatter.format("%c", 33).toString());
//		System.out.println(formatter.format("%2.2f", 420.23).toString());
//		System.out.println(formatter.format("%8.2f", new Double(4234.23))
//				.toString());
//		System.out.println(formatter.format("%5b", " ").toString());
//		System.out.println(formatter.format("%20d", 42042042).toString());
//		System.out.println(formatter.format("%,20d", 42042042).toString());
//		System.out.println(formatter.toString());
//		formatter.close();
		
		
		System.out.println(String.format("%c", 33));
		System.out.println(String.format("%8.2f", 420.23));
		System.out.println(String.format("%8.2f", new Double(4234.23)));
		System.out.println(String.format("%5b", " "));
		System.out.println(String.format("%20d", 42042042));
		System.out.println(String.format("%,20d", 42042042));

	}
}
